{validate form="add_domain" id="v_domain_name_empty" append="error" message="Domain name cannot be empty."}
{validate form="add_domain" id="v_domain_name_host" append="error" message="Either you cannot add this domain because it belongs to the system or it already exists."}
{validate form="add_domain" id="v_domain_name_dns" append="error" message="A DNS record for this domain is missing. Add a CNAME alias, named the same thing you entered, that will point to our default domain and try again later."}
{validate form="add_domain" id="v_public_valid" append="error" message="Accessibility selection is not valid."}
{if $add_button}
	<div class="failed">
		{foreach $error as $message}
			{$message}<br />
		{/foreach}
	</div>
{/if}